import type { ResponseData } from "../request"

// 定义user接口相关的数据类型
export interface LoginRequestData {
    username: string,
    password: string
}



export interface LoginResponseData extends ResponseData<string> {

}

export interface UserInfo {
    name: string,
    avatar: string,
    roles: string[],
    buttons: string[],
    routes: string[]
}

export interface UserInfoResponseData extends ResponseData<UserInfo> {
}